Systems and Methods for Multi-Level Encoding and Decoding

ABSTRACT

A storage system includes a storage medium operable to maintain a data set, a read/write head assembly operable to write the data set to the storage medium and to read the data set from the storage medium, a multi-level encoder operable to encode the data set at a plurality of different code rates before it is written to the storage medium, and a multi-level decoder operable to decode the data set retrieved from the storage medium and to apply decoded values encoded at a lower code rate when decoding values encoded at a higher code rate.

FIELD OF THE INVENTION

Various embodiments of the present invention provide systems and methods for data processing, and more particularly to systems and methods for encoding and decoding data in a data processing system.

BACKGROUND

Various data processing systems have been developed including storage systems, cellular telephone systems, and radio transmission systems. In such systems data is transferred from a sender to a receiver via some medium. For example, in a storage system, data is sent from a sender (i.e., a write function) to a receiver (i.e., a read function) via a storage medium. As information is stored and transmitted in the form of digital data, errors are introduced that, if not corrected, can corrupt the data and render the information unusable. The effectiveness of any transfer is impacted by any losses in data caused by various factors. Data may be encoded and decoded to enable error correction, for example adding parity bits to the data that allow errors to be detected and corrected downstream.

SUMMARY

Various embodiments of the present invention provide systems and methods for multi-level encoding and decoding.

A storage system includes a storage medium operable to maintain a data set, a read/write head assembly operable to write the data set to the storage medium and to read the data set from the storage medium, a multi-level encoder operable to encode the data set at a plurality of different code rates before it is written to the storage medium, and a multi-level decoder operable to decode the data set retrieved from the storage medium and to apply decoded values encoded at a lower code rate when decoding values encoded at a higher code rate.

This summary provides only a general outline of some embodiments of the invention.

The phrases “in one embodiment,” “according to one embodiment,” “in various embodiments”, “in one or more embodiments”, “in particular embodiments” and the like generally mean the particular feature, structure, or characteristic following the phrase is included in at least one embodiment of the present invention, and may be included in more than one embodiment of the present invention. Importantly, such phrases do not necessarily refer to the same embodiment. This summary provides only a general outline of some embodiments of the invention. Additional embodiments are disclosed in the following detailed description, the appended claims and the accompanying drawings.

BRIEF DESCRIPTION OF THE FIGURES

A further understanding of the various embodiments of the present invention may be realized by reference to the figures which are described in remaining portions of the specification. In the figures, like reference numerals may be used throughout several drawings to refer to similar components. In the figures, like reference numerals are used throughout several figures to refer to similar components.

FIG. 1 is a diagram of a magnetic storage medium and sector data scheme for which two-dimensional inter-symbol interference can be reduced by multi-level encoding and decoding in accordance with some embodiments of the present invention;

FIG. 2 depicts a storage system including a read channel with multi-level encoding and decoding in accordance with some embodiments of the present invention;

FIG. 3 depicts a state graph showing the inter-symbol interference between symbols stored in a two-dimensional pattern on a storage medium in accordance with some embodiments of the present invention;

FIG. 4A depicts multi-level encoder in accordance with some embodiments of the present invention;

FIG. 4B depicts multi-level decoder in accordance with some embodiments of the present invention;

FIG. 5 depicts a recording pattern on a storage medium for data encoded by a multi-level encoder in accordance with some embodiments of the present invention;

FIG. 6 depicts a channel model after the first detection and decoding level in accordance with some embodiments of the present invention;

FIG. 7 depicts a channel model after the second detection and decoding level in accordance with some embodiments of the present invention;

FIG. 8 is a flow diagram showing a method for multi-level data encoding in accordance with one or more embodiments of the present invention; and

FIG. 9 is a flow diagram showing a method for multi-level data decoding in accordance with one or more embodiments of the present invention.

DETAILED DESCRIPTION OF THE INVENTION

Various embodiments of the present invention provide data processing systems with multi-level encoding and multi-level decoding in which data to be encoded is subdivided, with each resulting group of data encoded at a different code rate, and with the decoded data from some groups being used to guide decoding of other groups. In some embodiments, the multi-level encoding is a parallel coding scheme with several sub-codes of various code rates, where the code rate defines how many encoded output symbols are produced for a particular number of input symbols. Multi-level encoding and decoding can be used in any data processing system to provide benefits such as, but not limited to, reducing inter-symbol interference (ISI), including inter-track interference (ITI) in a magnetic storage device such as a hard disk drive. As the recording density is increased in magnetic storage, two-dimensional inter-symbol interference, or interference between bits or symbols in adjacent data tracks, increases. With the multi-level encoding, bits from all sub-codes are alternately recorded on the two-dimensional magnetic recording medium. The multi-level encoding and decoding makes use of soft information, or value probabilities, between decoders on different levels. The multi-level decoding results from a sub-code of a lower code rate is used to guide the detector of the next level to reduce the inter-symbol interference, improving detection. This reduces the two-dimensional inter-symbol interference level by level and provides pseudo-two dimensional detection, thereby providing improved bit error rate performance at the same overall code rate.

Turning to FIG. 1, a magnetic storage medium 100 for which two-dimensional inter-symbol interference can be reduced by multi-level encoding and decoding is depicted in accordance with some embodiments of the present invention. An example data track 116 and its two adjacent data tracks 118, 120 are shown, indicated as dashed lines. The tracks 116, 118, 120 are segregated by servo data written within servo wedges 112, 114. It should be noted that while two tracks 116, 120 and two servo wedges 112, 114 are shown, hundreds of wedges and tens of thousands of tracks may be included on a given storage medium.

The servo wedges 112, 114 include servo data 130 that is used for control and synchronization of a read/write head assembly over a desired location on storage medium 100. In particular, the servo data 130 generally includes a preamble pattern 132 followed by a servo address mark 134, followed by a Gray code 136, a burst field 138, and a repeatable run-out (RRO) field 140. It should be noted that a servo data set may have two or more fields of burst information. Further, it should be noted that different information may be included in the servo fields. Between the servo data bit patterns 130 a and 130 b, a user data region 142 is provided. User data region 142 may include one or more sets of data that are stored to storage medium 100. The data sets may include user synchronization information some of which may be used as a mark to establish a point of reference from which processing of the data within user data region 142 may begin.

In operation, storage medium 100 is rotated in relation to a sensor that senses information from the storage medium. In a read operation, the sensor would sense servo data from wedge 112 (i.e., during a servo data period) followed by user data from a user data region between wedge 112 and wedge 114 (i.e., during a user data period) and then servo data from wedge 114. In a write operation, the sensor would sense servo data from wedge 112 then write data to the user data region between wedge 112 and wedge 114, with location information in the user data region provided by a user sync mark 144 and a user preamble 146.

Interference between symbols in a single data track 116 is referred to herein as one dimensional inter-symbol interference. Interference between symbols in neighboring tracks, such as interference from symbols in track 120 upon symbols in track 116, or interference from symbols in track 118 upon symbols in track 116, is referred to herein as two-dimensional inter-symbol interference or inter-track interference. The term “symbol” is used herein to refer to an object of data for which the value is detected in a data detector. A symbol can be a single bit or multiple bits in various embodiments. The multi-level encoding and decoding disclosed herein reduces the two-dimensional inter-symbol interference level by level between tracks (e.g., 120 and 116, 118 and 116), providing pseudo-two dimensional detection and improved bit error rate performance at the same overall code rate.

Turning to FIG. 2, a storage system 200 is illustrated as an example application of multi-level encoding and decoding in accordance with some embodiments of the present invention. The storage system 200 includes a read channel circuit 202 with a multi-level encoder and decoder. Storage system 200 may be, for example, a hard disk drive. Storage system 200 also includes a preamplifier 204, an interface controller 206, a hard disk controller 210, a motor controller 212, a spindle motor 214, a disk platter 216, and a read/write head assembly 220. Interface controller 206 controls addressing and timing of data to/from disk platter 216. The data on disk platter 216 consists of groups of magnetic signals that may be detected by read/write head assembly 220 when the assembly is properly positioned over disk platter 216. In one embodiment, disk platter 216 includes magnetic signals recorded in accordance with either a longitudinal or a perpendicular recording scheme.

In a typical read operation, read/write head assembly 220 is accurately positioned by motor controller 212 over a desired data track on disk platter 216. Motor controller 212 both positions read/write head assembly 220 in relation to disk platter 216 and drives spindle motor 214 by moving read/write head assembly 220 to the proper data track on disk platter 216 under the direction of hard disk controller 210. Spindle motor 214 spins disk platter 216 at a determined spin rate (RPMs). Once read/write head assembly 220 is positioned adjacent the proper data track, magnetic signals representing data on disk platter 216 are sensed by read/write head assembly 220 as disk platter 216 is rotated by spindle motor 214. The sensed magnetic signals are provided as a continuous, minute analog signal representative of the magnetic data on disk platter 216. This minute analog signal is transferred from read/write head assembly 220 to read channel circuit 202 via preamplifier 204. Preamplifier 204 is operable to amplify the minute analog signals accessed from disk platter 216. In turn, read channel circuit 202 decodes and digitizes the received analog signal to recreate the information originally written to disk platter 216. This data is provided as read data 222 to a receiving circuit. As part of processing the received information, read channel circuit 202 performs multi-level decoding. A write operation is substantially the opposite of the preceding read operation with write data 224 being provided to read channel circuit 202. This data is then encoded with a multi-level encoder and written to disk platter 216. Such a multi-level encoder and decoder can be implemented consistent with that disclosed below in relation to FIGS. 3-7. In some embodiments, the multi-level encoding and decoding is performed consistent with the flow diagrams disclosed below in relation to FIGS. 8-9.

It should be noted that storage system 200 may be integrated into a larger storage system such as, for example, a RAID (redundant array of inexpensive disks or redundant array of independent disks) based storage system. Such a RAID storage system increases stability and reliability through redundancy, combining multiple disks as a logical unit. Data may be spread across a number of disks included in the RAID storage system according to a variety of algorithms and accessed by an operating system as if it were a single disk. For example, data may be mirrored to multiple disks in the RAID storage system, or may be sliced and distributed across multiple disks in a number of techniques. If a small number of disks in the RAID storage system fail or become unavailable, error correction techniques may be used to recreate the missing data based on the remaining portions of the data from the other disks in the RAID storage system. The disks in the RAID storage system may be, but are not limited to, individual storage systems such storage system 200, and may be located in close proximity to each other or distributed more widely for increased security. In a write operation, write data is provided to a controller, which stores the write data across the disks, for example by mirroring or by striping the write data. In a read operation, the controller retrieves the data from the disks. The controller then yields the resulting read data as if the RAID storage system were a single disk.

In addition, it should be noted that storage system 200 may be modified to include solid state memory that is used to store data in addition to the storage offered by disk platter 216. This solid state memory may be used in parallel to disk platter 216 to provide additional storage. In such a case, the solid state memory receives and provides information directly to read channel circuit 202. Alternatively, the solid state memory may be used as a cache where it offers faster access time than that offered by disk platter 216. In such a case, the solid state memory may be disposed between interface controller 206 and read channel circuit 202 where it operates as a pass through to disk platter 216 when requested data is not available in the solid state memory or when the solid state memory does not have sufficient storage to hold a newly written data set. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of storage systems including both disk platter 216 and a solid state memory.

Turning to FIG. 3, state graph 300 shows the inter-symbol interference between symbols stored in a two-dimensional pattern on a magnetic storage medium in accordance with some embodiments of the present invention. In state graph 300, circles (e.g., 302, 304) represent symbols stored on the magnetic storage medium, and lines (e.g., 306) between two circles represent inter-symbol interference between the two symbols represented by the circles. Inter-symbol interference occurs between a target symbol 310 and its preceding symbol 312 and following symbol 314 on a data track 316. Inter-symbol interference occurs between target symbol 310 and neighboring symbols 320, 322, 324, 326, 330, 332 on neighboring tracks 334, 336. When detecting the value of target symbol 310, the effect of the eight neighboring symbols 312, 314, and 320-332 is accounted for in a simple and effective manner by the multi-level encoding and decoding. Notably, multi-level encoding and decoding may be applied to any two-dimensional pattern of symbols on a recording medium, and is not limited to use with the regular grid shown in FIG. 3.

Turning to FIG. 4A, a multi-level encoder 400 is depicted in accordance with some embodiments of the present invention. Data to be stored is received by serial to parallel converter 404 at input 402, which separates the data into divided data 406 u ₁, 414 u ₂ and 422 u ₃. Data at input 402 can have any content and can be derived from any suitable source. In some embodiments, divided data 406, 414 and 422 are non-overlapping portions of the data at input 402. In some embodiments, serial to parallel converter 404 operates as a multiplexer to alternately direct symbols at input 402 to different divided data signals 406, 414 or 422 in streams. In some embodiments, data at input 402 is aggregated in a memory and separated by serial to parallel converter 404 using memory access techniques rather than stream separation. The serial to parallel converter 404 can include any circuitry to divide data at input 402 into multiple divided data signals 406, 414 and 422. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of serial to parallel converters that may be used in relation to different embodiments of the present invention. Furthermore, the multi-level encoder and decoder are not limited to the three levels disclosed in example embodiments herein.

The divided data 406, 414 and 422 are each encoded at different code rates in data encoders 410, 416, 424, yielding encoded data 412, 420, 426. Data encoders 410, 416, 424 may be, but are not limited to, low density parity check encoder circuits or Reed Solomon encoder circuits as are known in the art. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of data encoder circuits that may be used in relation to different embodiments of the present invention. In some embodiments, data encoders 410, 416, 424 add parity symbols or check symbols to the data, enabling corresponding data decoders to detect and correct errors in retrieved copies of the data based on the parity symbols or check symbols. In some embodiments, data encoders 410, 416, 424 apply the same encoding algorithms but with different code rates. In some other embodiments, data encoders 410, 416, 424 apply different encoding algorithms. Encoder 1 410 encodes divided data 406 at code rate R₁, encoder 2 416 encodes divided data 414 at code rate R₂, and encoder 3 424 encodes divided data 422 at code rate R₃, where R₁<R₂<R₃. In some embodiments, R₁=0.25, R₂=0.5, and R₃=0.75.

The encoded data 412, 420, 426 from data encoders 410, 416, 424 is merged or recombined by parallel to serial converter 430, yielding encoded data 432. Encoded data 432 is an encoded version of data at input 402, having been encoded in multi-level encoder 400 with multiple code rates. The encoded data 432 can be in, but is not limited to, the same order as at input 402. The encoded data 432 can be further processed if desired and stored in a storage device such as, but not limited to, a magnetic recording medium such as a hard disk drive platter.

Turning to FIG. 4B, a multi-level decoder 440 is depicted in accordance with some embodiments of the present invention. An analog signal 450 based on the encoded data 432 that has been retrieved from storage is sampled by analog to digital converter 452 to yield a series of digital samples 454. In some embodiments, analog signal 422 is derived from a read/write head assembly (not shown) that is disposed in relation to a storage medium. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of source from which analog signal 450 may be derived. Analog to digital converter circuit 452 converts the analog signal 450 into a corresponding series of digital samples 454. Analog to digital converter circuit 452 may be any circuit known in the art that is capable of producing digital samples corresponding to an analog input signal. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of analog to digital converter circuits that may be used in relation to different embodiments of the present invention.

The digital samples 454 are provided to an equalizer circuit 456 in some embodiments. Equalizer circuit 454 applies an equalization algorithm to the digital samples 454 to yield an equalized output 458. In some embodiments of the present invention, equalizer circuit 456 is a digital finite impulse response filter circuit as are known in the art.

Again, the retrieved value of a symbol is affected by its neighboring bits due to inter-symbol interference. The equalized samples 458 from the output of a three-tap, two-dimensional equalizer 456 can be represented as:

$\begin{matrix} {{y_{m,n} = {\sum\limits_{i = {- 1}}^{i = 1}{\sum\limits_{j = {- 1}}^{j = 1}\; {T_{{m + i},{n + j}}u_{{m + i},{n + j}}}}}}\;} & \left( {{Eq}\mspace{14mu} 1} \right) \end{matrix}$

where y_(m,n) is the equalized sample for the symbol recorded at location m, n on a storage medium, where m is the track index, where n is the symbol index, where T represents the weight of the target symbol and its neighboring symbols, and where u represents the target symbol and its neighboring symbols. Track offset value i and symbol offset value j are used to reference the target symbol (where i and j=0) and its eight neighboring symbols. For a one-dimensional case having no inter-track interference, i would be 0.

The equalized samples 458 are provided to a serial to parallel converter 460, which separates the equalized samples 458 into divided data 462, 474 and 486. Divided data 462 contains equalized samples corresponding to divided data 406 u ₁, which was encoded at code rate R₁. Divided data 474 contains equalized samples corresponding to divided data 414 u ₂, which was encoded at code rate R₂. Divided data 486 contains equalized samples corresponding to divided data 422 u ₃, which was encoded at code rate R₃. In some embodiments, serial to parallel converter 460 operates as a multiplexer to alternately direct symbols in equalized samples 458 to different divided data signals 462, 474 and 486 in streams. In some embodiments, equalized samples 458 are aggregated in a memory and separated by serial to parallel converter 460 using memory access techniques rather than stream separation. The serial to parallel converter 460 can include any circuitry to divide equalized samples 458 into multiple divided data signals 462, 474 and 486. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of serial to parallel converters that may be used in relation to different embodiments of the present invention. Furthermore, the multi-level encoder and decoder are not limited to the three levels disclosed in example embodiments herein.

Multiple data detectors 464, 476, 488 are included in the multi-level decoder 440. Data detectors 464, 476, 488 are operable to apply a data detection algorithm to an input data set to detect values of the data set. In some embodiments of the present invention, data detector 464 is a Viterbi algorithm data detector circuit as are known in the art. In other embodiments of the present invention, data detector 464 is a maximum a posteriori data detector circuit as are known in the art. Of note, the general phrases “Viterbi data detection algorithm” or “Viterbi algorithm data detector circuit” are used in their broadest sense to mean any Viterbi detection algorithm or Viterbi algorithm detector circuit or variations thereof including, but not limited to, bi-direction Viterbi detection algorithm or bi-direction Viterbi algorithm detector circuit. Also, the general phrases “maximum a posteriori data detection algorithm” or “maximum a posteriori data detector circuit” are used in their broadest sense to mean any maximum a posteriori detection algorithm or detector circuit or variations thereof including, but not limited to, simplified maximum a posteriori data detection algorithm and a max-log maximum a posteriori data detection algorithm, or corresponding detector circuits. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of data detector circuits that may be used in relation to different embodiments of the present invention. Upon completion, data detectors 464, 476, 488 provide detected outputs 466, 478, 490 which include soft data. As used herein, the phrase “soft data” is used in its broadest sense to mean reliability data with each instance of the reliability data indicating a likelihood that a corresponding bit position or group of bit positions has been correctly detected. In some embodiments of the present invention, the soft data or reliability data is log likelihood ratio data as is known in the art.

Multiple data decoders 468, 480, 492 are also included in the multi-level decoder 440. The data decoders 468, 480, 492 used in various embodiments may be any type of decoders to reverse the encoding performed by data encoders 410, 416, 424, such as, but not limited to, low density parity check decoder or Reed Solomon decoders, which are each operable to decode data encoded at a different code rate as it was encoded. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of data decoder circuits that may be used in relation to different embodiments of the present invention. The data decoders 468, 480, 492 apply data decode algorithms to decoder inputs 466, 478, 490 in a variable number of local decoding iterations. In some embodiments, data decoders 468, 480, 492 and their corresponding data detectors 464, 476, 488 also perform a variable number of global detection/decoding iterations, with the detector (e.g., 464) applying the data detection algorithm to the divided data input 462 with guidance from decoded output from the decoder (e.g., 468) generated during a previous global iteration.

The divided data 462 for code rate R₁ from serial to parallel converter 460 is provided to data detector 464, which applies a data detection algorithm to divided data 462 to yield detected values 466. The detected values 466 are provided to decoder 468, which applies a data decoding algorithm to detected values 466, reversing the encoding performed in encoder 410, and yielding a soft decoder output 472 and a hard decision output 470 {circumflex over (u)}₁. The soft decoder output 472 contains likelihood information about each possible value for each symbol, and hard decision output 470 contains the most likely value of each symbol. Hard decision output 470 {circumflex over (u)}₁ thus corresponds to divided data 406 u ₁, either exactly or to the best of the ability of the data detector 464 and decoder 468 to determine.

The soft decoder output 472 is used by data detector 476 in some embodiments in the same manner that data detector 476 applies soft information from data decoder 480 to guide the detection process for divided data 474. For example, if the soft decoder output 472 indicates that the neighboring symbols have a value of +1, and given that the effect that inter-symbol interference by a symbol with a value of +1 in a particular system has on a target symbol is known, then that interference value is subtracted from the soft output for the target symbol to remove the interference. In some embodiments, the interference values are subtracted from the soft values in the detector before they are output from the detector. This removes the interference, as long as the decision for the interfering symbol was correct.

The divided data 474 for code rate R₂ from serial to parallel converter 460 is provided to data detector 476, which applies a data detection algorithm to divided data 474 to yield detected values 478. During the data detection process, the data detector 476 reverses the effect on divided data 474 from neighboring symbols, based on the soft decoder output 472 from decoder 468. Because the divided data 406 u ₁ was encoded at the lowest code rate R₁, it has a greater level of redundancy than divided data 474. This greater level of redundancy increases the likelihood that the soft decoder output 472 and hard decision output 470 will be correct, even though inter-symbol interference is not cancelled in the first decoding level that yields soft decoder output 472 and hard decision output 470. The interference from the symbols in divided data 462 on the symbols in divided data 474 can therefore be cancelled out or reduced in data detector 476.

The detected values 478 are provided to decoder 480, which applies a data decoding algorithm to detected values 478, reversing the encoding performed in encoder 416, and yielding a soft decoder output 484 and a hard decision output 482 {circumflex over (u)}₂. The soft decoder output 484 contains likelihood information about each possible value for each symbol, and hard decision output 482 contains the most likely value of each symbol. Hard decision output 482 {circumflex over (u)}₂ thus corresponds to divided data 414 u _(2.)

The divided data 486 for code rate R₃ from serial to parallel converter 460 is provided to data detector 488, which applies a data detection algorithm to divided data 486 to yield detected values 490. During the data detection process, the data detector 488 reverses the effect on divided data 486 from neighboring symbols, based on the soft decoder output 484 from decoder 480. Because the divided data 474 u ₂ was encoded at a lower code rate R₂ than the code rate R₃ of divided data 486, it has a greater level of redundancy than divided data 486. The interference from the symbols in divided data 474 and divided data 462 on the symbols in divided data 486 can therefore be cancelled out or reduced in data detector 488.

The detected values 490 are provided to decoder 492, which applies a data decoding algorithm to detected values 490, reversing the encoding performed in encoder 424, and yielding a hard decision output 494 {circumflex over (u)}₃. The hard decision output 494 contains the most likely value of each symbol. Hard decision output 494 {circumflex over (u)}₂ thus corresponds to divided data 422 u _(3.)

Although the lower code rate levels of decoding that yield hard decision outputs 482 and 494 are at least partially dependent on earlier levels, the detection and decoding operations can be performed at least partially in parallel in some embodiments. For example some detection and decoding iterations in detector 476 and decoder 480 can be performed while detector 464 and decoder 468 are still operating on divided data 462, with the soft decoder output 472 from decoder 468 being applied in data detector 476 as soon as the data has converged and decoding is complete in decoder 468. In some other embodiments, the soft decoder output 472 from decoder 468 is applied in data detector 476 before the data has converged and decoding is complete in decoder 468, as soon as at least one iteration is complete in decoder 468 and soft decoder output 472 is available. In yet other embodiments, each level or stage waits to begin until decoding is complete in the previous level stage, where a decoder stage in some embodiments of the multi-level decoder 440 includes a data detector and data decoder.

The hard decision outputs 470, 482, 494 from data decoders 468, 480, 492 are merged or recombined by parallel to serial converter 496, yielding hard decisions 498, which correspond to data at input 402 provided to multi-level encoder 400. The hard decisions 498 can be further processed if desired and output for use. For example, in some embodiments, the multi-level encoding and decoding is performed on a sector-by-sector basis, with an entire decoded sector being output as hard decisions 498 once the data for the sector has converged in all three decoders 468, 480, 492.

Turning to FIG. 5, the recording pattern 500 on a storage medium for data encoded by a multi-level encoder is depicted in accordance with some embodiments of the present invention. The serial to parallel converter 404 and parallel to serial converter 430 divide the data into portions to be encoded with different code rates in an order that causes data to be recorded on the storage medium in a pattern such as in FIG. 5. This enables a multi-level decoder to apply the soft information from lower level decoding to subsequent level decoding to cancel or reduce the effects of inter-symbol interference. Data encoded at different code rates is thus interleaved when written to the disk so that the values of symbols encoded at lower code rates can be determined and the interference they have on neighboring symbols encoded at higher code rates can be cancelled or reduced. The symbols encoded at code rate R₁ are represented in FIG. 5 by circles (e.g., 502) marked as number 1, the symbols encoded at code rate R₂ are represented by circles (e.g., 504) marked as number 2, and the symbols encoded at code rate R₃ are represented in FIG. 5 by circles (e.g., 506) marked as number 3. In some embodiments, the recording pattern places symbols encoded at the highest code rate on alternating tracks 510, 512, 514, and on the intervening tracks 516, 518, alternates symbols encoded at the lower code rates. However, the multi-level encoding and decoding is not limited to the pattern shown in FIG. 5, but can be used with any recording pattern that reduces the effect of two-dimensional inter-symbol interference during the detection process.

The serial to parallel and parallel to serial conversion is thus based at least in part on the location at which each symbol will be stored on the magnetic storage medium. For example, if the data corresponds entirely to a data sector being written to a track (e.g., 512) that is assigned code rate 3, the data will all be encoded by encoder 3 424 at code rate 3, and the serial to parallel converter 404 will direct all symbols from input 402 to data stream 422. If the data corresponds entirely to a data sector being written to a track (e.g., 516) that is assigned to code rates 1 and 2, the serial to parallel converter 404 will alternately direct each successive symbol from input 402 to data stream 406 or data stream 414. If the data will span two adjacent tracks, the serial to parallel converter 404 will direct symbols from input 402 to each of the data streams 406, 414, 422 according to their target storage locations to yield the pattern shown in FIG. 5 or in any other pattern that reduces the effect of two-dimensional inter-symbol interference when detecting the values of retrieved data.

Turning to FIG. 6, a channel model 600 shows the two-dimensional inter-symbol interference remaining after the first detection and decoding level. Notably, the effect of symbols encoded at code rate R₁ on symbols encoded at code rates R₂ and R₃ has been cancelled. The cancelled two-dimensional inter-symbol interference from symbols encoded at code rate R₁ is shown by dashed lines (e.g., 602).

Turning to FIG. 7, a channel model 700 shows the one-dimensional inter-symbol interference remaining after the second detection and decoding level. Notably, the effect of symbols encoded at code rates R₁ and R₂ on symbols encoded at code rate R₃ has been cancelled. The cancelled two-dimensional inter-symbol interference from symbols encoded at code rates R₁ and R₂ is shown by dashed lines (e.g., 702). The multi-level encoding and decoding thus cancels or reduces two-dimensional inter-symbol interference without requiring a two-dimensional detector. Symbols encoded at code rates R₁ and R₂ will also benefit from the multi-level encoding and decoding even though the inter-symbol interference of higher code rate encoded symbols is not cancelled on lower code rate encoded symbols, because of the lower code rates and greater redundancy. Thus, bit error rate performance is improved without increasing the overall code rate.

Turning to FIG. 8, flow diagram 800 discloses a method for multi-level data encoding in accordance with one or more embodiments of the present invention. Following flow diagram 800, a data input is received (block 802). The data input is divided into multiple data segments (block 804). The data input is divided such that, when recombined and recorded on a storage medium, symbols having been encoded at different data rates will be interspersed in a pattern allowing two-dimensional inter-symbol interference to be cancelled during a multi-level detection process. Each of the data segments is encoded at a different code rate, yielding encoded data segments (block 806). The encoded data segments are combined to yield an encoded data output (block 808). The encoded data output can then be recorded on a storage medium such as a magnetic hard disk platter.

Turning to FIG. 9, flow diagram 900 discloses a method for multi-level data decoding in accordance with one or more embodiments of the present invention. Following flow diagram 900, encoded data samples are divided into multiple data segments, each having been encoded at a different code rate (block 902). Values of the data segment encoded at lowest data rate are determined (block 904). In some embodiments, this includes performing a data detection process such as, but not limited to, a Viterbi or maximum a posteriori detection algorithm, and a data decoding process such as, but not limited to, a low density parity check or Reed Solomon decoding algorithm. Values of the data segment encoded at the next higher data rate are determined, subtracting out interference from symbols at the next lower data rate (block 906). A determination is made as to whether all levels have been decoded, or whether a data segment encoded at a higher data rate remains (block 908). If not, the process continues at block 906 for the data segment encoded at the next higher data rate. When all levels have been processed, the values of data segments encoded at each different data rate are combined, yielding decoded data (block 910). The decoded data may then be output (block 912) or processed further.

It should be noted that the various blocks discussed in the above application may be implemented in integrated circuits along with other functionality. Such integrated circuits may include all of the functions of a given block, system or circuit, or a subset of the block, system or circuit. Further, elements of the blocks, systems or circuits may be implemented across multiple integrated circuits. Such integrated circuits may be any type of integrated circuit known in the art including, but are not limited to, a monolithic integrated circuit, a flip chip integrated circuit, a multichip module integrated circuit, and/or a mixed signal integrated circuit. It should also be noted that various functions of the blocks, systems or circuits discussed herein may be implemented in either software or firmware. In some such cases, the entire system, block or circuit may be implemented using its software or firmware equivalent. In other cases, the one part of a given system, block or circuit may be implemented in software or firmware, while other parts are implemented in hardware.

In conclusion, the present invention provides novel systems, devices, methods and arrangements for multi-level encoding and decoding. While detailed descriptions of one or more embodiments of the invention have been given above, various alternatives, modifications, and equivalents will be apparent to those skilled in the art without varying from the spirit of the invention. Therefore, the above description should not be taken as limiting the scope of the invention, which is defined by the appended claims. 

1. A storage system comprising: a storage medium operable to maintain a data set; a read/write head assembly operable to write the data set to the storage medium and to read the data set from the storage medium; a multi-level encoder operable to encode the data set at a plurality of different code rates before it is written to the storage medium; and a multi-level decoder operable to decode the data set retrieved from the storage medium and to apply decoded values encoded at a lower code rate when decoding values encoded at a higher code rate, wherein the multi-level encoder is operable to encode the data set at a plurality of different code rates such that symbols encoded at different code rates in the data set are interleaved on the storage medium.
 2. (canceled)
 3. The storage system of claim 1, wherein each symbol in the data set maintained on the storage medium is recorded adjacent at least one other symbol in the data set encoded at a different one of the plurality of code rates.
 4. The storage system of claim 1, wherein applying decoded values encoded at a lower code rate when decoding values encoded at a higher code rate reduces inter-track interference.
 5. The storage system of claim 1, wherein the multi-level encoder comprises a serial to parallel converter operable to divide the data set into a plurality of data segments to be encoded at the different code rates.
 6. The storage system of claim 1, wherein the multi-level encoder comprises a plurality of data encoders, each operable to encode input data at a different one of the plurality of code rates.
 7. The storage system of claim 1, wherein the multi-level encoder comprises a parallel to serial converter operable to combine data segments that have been encoded at the plurality of different code rates to yield an encoded data set.
 8. The storage system of claim 1, wherein the multi-level decoder comprises a serial to parallel converter operable to divide the data set into a plurality of data segments that are each encoded at a different one of the plurality of code rates.
 9. The storage system of claim 8, wherein the multi-level decoder further comprises a first detector and a first decoder operable to decode a first of the plurality of data segments encoded at a lowest of the plurality of code rates.
 10. The storage system of claim 9, wherein the multi-level decoder further comprises a second detector and a second decoder operable to decode a second of the plurality of data segments encoded at a next lowest of the plurality of code rates, wherein the second detector is operable to cancel inter-symbol interference in the second of the plurality of data segments based on decoded values from the first decoder.
 11. The storage system of claim 10, wherein the multi-level decoder further comprises a third detector and a third decoder operable to decode a third of the plurality of data segments encoded at a highest of the plurality of code rates, wherein the third detector is operable to cancel inter-symbol interference in the third of the plurality of data segments based on decoded values from the second decoder.
 12. The storage system of claim 1, wherein the multi-level decoder comprises a parallel to serial converter operable to combine decoded values for data segments that were encoded at the plurality of different code rates to yield an decoded data set.
 13. The storage system of claim 1, wherein the multi-level encoder and multi-level decoder are implemented as an integrated circuit.
 14. A multi-level encoder comprising: a serial to parallel converter operable to divide data into a plurality of data segments based on a storage pattern for the data so that when stored, symbols in the plurality of data segments will be interleaved; a plurality of data encoders each operable to encode one of the plurality of data segments at a different code rate; and a parallel to serial converter operable to combine an encoded output from each of the plurality of data encoders to yield an encoded data output.
 15. The multi-level encoder of claim 14, wherein the plurality of data encoders comprise low density parity check encoders.
 16. The multi-level encoder of claim 14, wherein the serial to parallel converter is operable to interleave symbols when they are stored so that a symbol encoded at one of the code rates is adjacent at least one symbol encoded at another of the code rates.
 17. A multi-level decoder comprising: a serial to parallel converter operable to divide data into a plurality of encoded data segments, each encoded at a different code rate; a plurality of decoder stages, each operable to decode one of the plurality of encoded data segments to yield a plurality of decoder outputs, wherein at least one of the plurality of decoder stages is operable to cancel interference based on a decoder output from a decoder stage associated with a lower one of the different code rates; and a parallel to serial converter operable to combine the plurality of decoder outputs to yield decoded data.
 18. The multi-level decoder of claim 17, wherein the plurality of decoder stages each comprise a detector operable to calculate a likelihood that values have been detected correctly, and a decoder operable to detect and correct errors.
 19. The multi-level decoder of claim 18, wherein the detector in said at least one of the plurality of decoder stages is operable to cancel interference by subtracting interference values based on the decoder output from the decoder stage associated with said lower one of the different code rates.
 20. The multi-level decoder of claim 18, wherein the detector in said at least one of the plurality of decoder stages is operable to cancel interference for a target symbol by subtracting interference values based on decoded values of symbols that were stored adjacent the target symbol.
 21. The multi-level decoder of claim 17, wherein the multi-level decoder is implemented as an integrated circuit. 